package com.xiaoyi.springboot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xiaoyi.springboot.entity.SysPermission;
import com.xiaoyi.springboot.mapper.SysPermissionMapper;
import com.xiaoyi.springboot.service.SysPermissionService;
import org.assertj.core.util.Sets;
import org.springframework.stereotype.Service;

import java.util.Set;

/**
 * <p>
 * 菜单权限表 服务实现类
 * </p>
 *
 * @author xiaoyi
 * @since 2021-03-18
 */
@Service("sysPermissionService")
public class SysPermissionServiceImpl extends ServiceImpl<SysPermissionMapper, SysPermission> implements SysPermissionService {

    @Override
    public boolean needInterceptor(String requestURI) {
        return false;
    }

    @Override
    public Set<String> listPermissionURLs(String userName) {
        return Sets.newHashSet();
    }
}
